summaryrefslogtreecommitdiffstats
path: root/cwd/assets/altcraft/shaders/vert/entity.vs
blob: 4acaa93039b96f5d272cb2b35bbbab33b6dd6a1f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#version 330 core

in vec3 pos;

uniform mat4 model;

layout (std140) uniform Globals {
    mat4 projView;
    uvec2 viewportSize;
    float globalTime;
    float dayTime;
    float gamma;
};

void main() {
    gl_Position = projView * model * vec4(pos, 1);
}